namespace KinonekoSoftware.Studio.Utils
{
    public static class CatalogHelper
    {
        public static string GetCatalogName(CatalogList type)
        {
            var repository = Platform.GetRepository();
            var catalogs   = repository.Get<CatalogRoot>();
            var catalog    = catalogs.Catalogs.FirstOrDefault();
            return catalog?.Name;
        }
    }
}